;;; This example is adapted from the project website at
;;; https://dthompson.us/projects/chickadee.html.

(import
 (except (rnrs base) map)
 (only (guile)
       lambda* λ)
 ;; GNU Guile batteries
 (ice-9 exceptions)
 ;; Chickadee libs
 (chickadee)
 (chickadee math vector)
 (chickadee graphics font))


(define draw
  (λ (alpha)
    (draw-text "Hello, world!" (vec2 260.0 240.0))))


(run-game #:draw draw)
